package com.woniuxy.cloud52.cinemaassembly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.cloud52.cinemaassembly.dao.CinemaMapper;
import com.woniuxy.cloud52.cinemaassembly.model.Cinema;
import com.woniuxy.cloud52.cinemaassembly.service.ICinemaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 影院信息 服务实现类
 * </p>
 *
 * @author rc
 * @since 2021-05-06
 */
@Service
public class CinemaServiceImpl implements ICinemaService {

    @Autowired
    private CinemaMapper cinemaMapper;

    @Override
    public Cinema findByCid(int cid) {
        return cinemaMapper.findByCinemaId(cid);
    }
}
